package com.baic.ibase.models.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;

import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@Data
@TableName("products")
public class Products extends CommonModel implements Serializable {

    @Id
    @TableId(type = IdType.ASSIGN_ID, value = "product_id")
    private Long id;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品描述
     */
    private String productDescription;

    /**
     * 产品物模型
     */
    private String productModels;

    /**
     * 产品状态
     */
    private Integer productStatus;

    /**
     * 产品类型
     */
    private Integer productType;

}
